mod user;
mod workspace;
mod chat;
mod file;
mod message;
use serde::{ Deserialize, Serialize};

pub use chat::CreateChat;
pub use user::{CreateUser, SigninUser};
pub use message::{CreateMessage, ListMessage};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ChatFile{
    ws_id: u64,
    ext: String,
    hash: String,
}